﻿using System.Windows;
using X.WPF.Controls.Models;

namespace X.WPF.Controls.EventArgs.Marker3DCanvasArgs
{
    /// <summary>
    /// 标记点击事件参数
    /// </summary>
    public class Marker3DCanvasMarkerClickEventArgs : RoutedEventArgs
    {

        /// <summary>
        /// 创建标记点击事件参数构造器
        /// </summary>
        public Marker3DCanvasMarkerClickEventArgs(RoutedEvent routedEvent, object source, Marker3DMarker marker)
            : base(routedEvent, source)
        {
            this.Marker = marker;
        }

        /// <summary>
        /// 标记
        /// </summary>
        public Marker3DMarker Marker { get; set; }

    }
}